package com.jeework.modules.sys.service;

import com.jeework.common.entity.Page;
import com.jeework.modules.sys.dao.DictTypeDao;
import com.jeework.modules.sys.entity.DictType;
import com.jeework.modules.sys.dao.DictDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class DictService {

    @Autowired
    private DictTypeDao dictTypeDao;

    public List<DictType> doList(DictType dictType) {
        return dictTypeDao.doList(dictType);
    }

    public Page<DictType> doPage(Page<DictType> page) {

        return dictTypeDao.doPage(page);
    }
}
